﻿
using Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IBll
{
    /// <summary>
    /// 食谱接口
    /// </summary>
    public interface IHeltebLL
    {

        /// <summary>
        /// 新增
        /// </summary>
        /// <param name="t">数据信息</param>
        /// <returns>返回值受影响行数</returns>
        Task<int> AddAnync(Helte helte);

        /// <summary>
        /// 显示查询
        /// </summary>
        /// <param name="name">食谱标题模糊</param>
        /// <param name="helteTypeId">分类下拉框</param>
        /// <returns>通过食谱，分类下拉框查询数据</returns>
        dynamic ShowHelte(string? name, int helteTypeId);


    }
}
